<?php defined('SYSPATH') or die('No direct script access.'); ?>
<div id="section-body">
    <div style="float:right">
        <ul class="uibutton-group">
            <li><a class="uibutton icon add" title="Novo Usuário" href="<?php echo Kohana::$base_url; ?>manager/user/create">Novo Usuário</a></li>
            <li><a class="uibutton special delete-all">Excluir</a></li>
        </ul>
    </div>
    <div class=" clear"></div>
    <div class="onecolumn">
    <div class="header">
        <span><span class="ico  gray user  "></span> Usuários </span>    
    </div>
    <!-- End header -->	
    <div class=" clear"></div>
    <div class="content" id="section-content">
    <form> 
    <div class="tableName">

        <table class="display list-table">
                <thead>
                        <tr>                            
                            <th width="35" ><input type="checkbox" id="checkAll1"  class="checkAll"/></th>
                            <th><div class="th_wrapp">Nome</div></th>
                            <th><div class="th_wrapp">E-mail</div></th>
                            <th><div class="th_wrapp">Opções</div></th>
                        </tr>
                </thead>
                <tbody>
                        <?php foreach ($list as $value) {?>                                           
                        <tr>
                                <td  width="5" ><input type="checkbox" name="checkbox[]" class="chkbox" id="check<?php echo $value->id;?>"/></td>
                                <td><?php echo $value->fullname;?></td>
                                <td><?php echo $value->email;?></td>                           
                                <td >
                                    <span class="tip" >
                                        <a class="bt-edit-data" href="<?php echo Kohana::$base_url; ?>manager/user/create/<?php echo $value->id;?>" title="Editar" >
                                            <img src="<?php echo Kohana::$base_url; ?>manager/media/images/icon/icon_edit.png" >
                                        </a>
                                    </span> 
                                    <span class="tip" >
                                        <a class="bt-delete-data" name="{{fullname}}" registerid="<?php echo $value->id;?>" title="Excluir"  >
                                            <img src="<?php echo Kohana::$base_url; ?>manager/media/images/icon/icon_delete.png" >
                                        </a>
                                    </span> 
                            </td>
                        </tr>
                        <?php }  ?>
                </tbody>
        </table>
        </div>
    </form>

    </div>
    </div>
</div>
